package com.xiaowu.netmusic;

import lombok.extern.slf4j.Slf4j;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.transaction.annotation.EnableTransactionManagement;

/**
 * @description:
 * @author: xiaowu
 * @time: 2025/4/27 17:31
 */
@SpringBootApplication
@EnableTransactionManagement
@EnableCaching//开启注解缓存功能
@EnableScheduling
@Slf4j
@MapperScan("com.xiaowu.netmusic.mapper")
public class NetMusicApplication {
    public static void main(String[] args) {
        SpringApplication.run(NetMusicApplication.class, args);
    }
}
